Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix docs for custom types #242

Merged
merged 4 commits into from
Jan 16, 2016
Merged

Conversation

wolverdude
Copy link
Contributor

Prompted by Issue 151, this improves the accuracy and readability of the Extending Colander section of the docs.

I did not create descriptions for the methods flatten, unflatten, set_value, or get_value. That might be fodder for another PR, though I'm no longer actively working with Colander, so someone else may need to take up the cause.

@mmerickel
Copy link
Member

LGTM

Both the ``serialize`` and ``deserialize`` methods must be able to
receive :attr:`colander.null` values and handle them intelligently. This
will happen whenever the data structure being serialized or deserialized
does not provide a value for this node. In most cases, ``serialize`` or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"In the common case" is deliberately weaker than "in most cases": perhaps "in many cases" instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fair. I'll change it.

mmerickel added a commit that referenced this pull request Jan 16, 2016
@mmerickel mmerickel merged commit 3e77db2 into Pylons:1.0-branch Jan 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants